from django.db import models


class Kline(models.Model):
    open = models.CharField(max_length=16)
    close = models.CharField(max_length=16)
    low = models.CharField(max_length=16)
    high = models.CharField(max_length=16)
    amount = models.CharField(max_length=16)
    vol = models.CharField(max_length=16)
    count = models.CharField(max_length=16)
    period = models.CharField(max_length=8)
    created = models.PositiveIntegerField()
    goods_sn = models.CharField(max_length=36)

    class Meta:
        managed = False
        db_table = 'kline'
